﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Caching;

using BlueCMS.Core.Providers;

namespace BlueCMS.Providers.CacheProviders.AspNetCacheProvider
{
    public class CacheProvider : ICacheProvider
    {
        public object Get(string key)
        {
            return HttpContext.Current.Cache.Get(key);
        }

        public void Insert(string key, object value)
        {
            HttpContext.Current.Cache.Insert(key, value);
        }
    }
}
